<template>
  <view class="FakeLoading">
    <view class="loading-box">
      <view class="lds-ellipsis">
        <view></view>
        <view></view>
        <view></view>
        <view></view>
      </view>
    </view>
  </view>
</template>

<style lang="scss">
  .FakeLoading {
    position: fixed;
    width: 100%;
    height: 100%;
    // background: #fff;
	top: 0;
    z-index: 9;
    .loding-img {
      display: block;
      width: 78rpx;
      height: 78rpx;
      margin: 400rpx auto 0;
    }
  }

  .lds-ellipsis {
    position: relative;
    margin: 400rpx auto 0;
    width: 64px;
    height: 64px;
    view {
      position: absolute;
      top: 27px;
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: $uni-color-primary;
      animation-timing-function: cubic-bezier(0, 1, 1, 0);
      &:nth-child(1) {
        left: 6px;
        animation: lds-ellipsis1 0.6s infinite;
      }
      &:nth-child(2) {
        left: 6px;
        animation: lds-ellipsis2 0.6s infinite;
      }
      &:nth-child(3) {
        left: 26px;
        animation: lds-ellipsis2 0.6s infinite;
      }
      &:nth-child(4) {
        left: 45px;
        animation: lds-ellipsis3 0.6s infinite;
      }
    }
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(19px, 0);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }

</style>
